<%@ page contentType="text/html;charset=UTF-8"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="layout" content="main" />
<title>Import Data</title>
<g:javascript library="prototype" />
</head>
<body>
	<div class="body">
		<g:form controller="data" action="importdata">
		Add data from file:
		<g:textField name="dataFile" value="${params.dataFile}" />
			<p>
				with researcher name:
				<g:textField name="researcher" value="${params.researcher}" />
				<g:submitButton name="addData" value="Submit" />
		</g:form>
		${status}
		<g:link controller="data" action="index">
			<br />
			<br />
			<i>back home</i>
		</g:link>
		<g:link controller="data" action="list">
			<br />
			<br />
			<i>list all items</i>
		</g:link>
<g:link controller="study" action="sort">
			<br />
			<br />
			<i>sort this data</i>
		</g:link>



	</div>
</body>
</html>